﻿using LPP.Entity.Media;
using Microsoft.AspNetCore.Http;

namespace LPP.Core.Services
{
    public interface IMediaService
    {
        Task<Media> UploadMediaAsync(IFormFile file, string mediaType);
        Task<Media> GetMediaByIdAsync(int id);
        Task<List<Media>> GetAllMediaAsync();
        Task LikeMediaAsync(int id);
        Task ShareMediaAsync(int mediaId, string platform);
        Task FavoriteMediaAsync(int mediaId, string userId);
        void SaveMedia(Media media);
        Media GetMedia(int id);
        void Add(Media media);

    }
}
